package org.lop.demo.domain;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Version;

import org.lop.common.domain.BaseEntity;

/**
 * 测试version实体.
 * 
 * @author 潘瑞峥
 * @date 2013-6-13
 */
@Entity
@Table( name = "lop_demo_version" )
public class DemoVersionEntity extends BaseEntity {

	private static final long serialVersionUID = 6130414041139557366L;

	private String name;

	private String remark;

	@Version
	private Integer version;

	public String getName() {
		return name;
	}

	public void setName( String name ) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark( String remark ) {
		this.remark = remark;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion( Integer version ) {
		this.version = version;
	}

}